﻿using System.ComponentModel;

namespace Model.Base
{
    public class BaseModel
    {
        /// <summary>
        /// 
        /// </summary>
        [Description("")]
        [Field("", System.Data.SqlDbType.BigInt, true)]
        public long ID { get; set; }

        /// <summary>
        /// 
        /// </summary>
        [Description("")]
        [Field("", System.Data.SqlDbType.DateTime, true)]
        public System.DateTime CreateTime { get; set; }

        /// <summary>
        /// 
        /// </summary>
        [Description("")]
        [Field("", System.Data.SqlDbType.DateTime, true)]
        public System.DateTime? LastModifyTime { get; set; }

        /// <summary>
        /// 
        /// </summary>
        [Description("")]
        [Field("", System.Data.SqlDbType.Int, true)]
        public int IsDel { get; set; }
    }
    public class BaseModelUser: BaseModel
    {
        /// <summary>
        /// 
        /// </summary>
        [Description("")]
        [Field("", System.Data.SqlDbType.Int, true)]
        public int CreatorId { get; set; }

        /// <summary>
        /// 
        /// </summary>
        [Description("")]
        [Field("", System.Data.SqlDbType.Int, true)]
        public int LastModifierId { get; set; }
    }
}
